<!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN" "http://www.wapforum.org/DTD/xhtml-mobile10.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>商品详情</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />  
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=2.0, user-scalable=0,minimum-scale=0.5">
<link rel="shortcut icon" href="/favicon.ico">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
</head>
<style>
	body{margin:0;padding:0;color:#222;font-family:'Microsoft YaHei';font-size:14px}
	.clearfix:after{content:".";display:block;height:0;clear:both;visibility:hidden;}*html 
	.clearfix{height:1%;}*+html 
	.clearfix{height:1%;}
	.w30{width:calc(100% - 30px);}
	.w60{width:calc(100% - 60px);}
	.w100{width:100%}
	.bgcolor{background-color:#f9f9f9}
	.color_1{color:#bcbcbc}
	.color_2{color:#D9A44E}
	.color_3{color:#ababab}
	.f_l{float:left}
	.f_r{float:right}
	.title{font-size:18px;margin:0;padding:0 15px}
</style>
<body> 
	<div>
		<img src="{$data.img}" alt="" style="margin-bottom:20px" class="w100" /> 
		<p class="title w30">{$data.goods.name}</p>
		<p class="w30 color_1" style="font-size:15px;margin-top:20px;padding:0 15px;">购买人数：<span>{if $data.goods.invented_number gt 0}{$data.goods.invented_number}{else}0{/if}</span>人</p>
		<p class="w30 color_2" style="font-size:16px;padding:0 15px;"><span>{if $data.goods.score gt 0}{$data.goods.score}{else}0{/if}</span>/积分</p>
		<div class="bgcolor w100" style="height:10px"></div>
		<p style="text-align:center;font-size:16px">商品介绍</p>
		<div class="clearfix w60 bgcolor" style="margin:0 15px;padding:0 15px;font-size:15px">
			<p class="f_l">所属类别</p>
			<p class="f_r color_3">{$data.goods.cate_name}</p>
		</div>
		<div class="clearfix w60" style="margin:0 15px;padding:0 15px;font-size:15px">
			<p class="f_l">剩余数量</p>
			<p class="f_r color_3"><span>{$data.goods.max_bought_format}</span>/份</p>
		</div>
		<div class="w60 bgcolor" style="margin:0 15px 40px 15px;padding:15px;">
			<p style="font-size:15px">商品详情</p>
			<div class="card-content-inner">
	                	{$data.goods_description}
	          </div>
		</div>
	</div>
</body>
</html>